<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/static/css/bootstrap.css">
</head>
<body>
<table class="table">
    <tr>
        <th>ID</th>
        <th>nickname</th>
        <th>发布时间</th>
        <th>发布内容</th>
    </tr>
    {foreach $data as $k=>$v}
    <tr>
        <td>{$v.id}</td>
        <td>{$v.nickname}</td>
        <td>
            {:date('Y-m-d H:i:s',$v.create_time)}
<!--            {$v.create_time|date="Y-M-d H:i:s"}-->
            </td>
        <td>{$v.message}</td>
    </tr>
    {/foreach}
</table>
</body>
</html>